package com.leen.exception;

import com.leen.common.exception.LeenException;
import com.leen.common.vo.ResultEnum;

/**
 * 没有权限异常
 * @author wy
 */
public class AccessDeniedException extends LeenException {
    public AccessDeniedException() {
        this(ResultEnum.Forbidden.getMessage());
    }

    public AccessDeniedException(String message) {
        super(message);
    }

    public AccessDeniedException(String message, Throwable cause) {
        super(message, cause);
    }

    public AccessDeniedException(Throwable cause) {
        super(cause);
    }

    public AccessDeniedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
